import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 重置样式插件
import 'normalize.css'
// 导入公共样式
import '@/styles/common.less'
// 导入公共组件
import component from '@/components'
// 使用自定义插件
//    V2: Vue.use()
//    V3: vue应用.use()
// .use(vue插件) 链式写法[Promise.then.then...]
import Directives from '@/directives'
const app = createApp(App)
app.use(store).use(router).use(component).use(Directives).mount('#app')
// createApp(App).use(store).use(router).use(component).use(Directives).mount('#app')
